package com.dsbridge.bank.business;

import java.sql.SQLException;
import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.dsbridge.bank.model.Account;

public interface AccountBusineessServiceInterface {

	
	public abstract Account insert(Account a);

	
	public abstract int update(Account a);

	/**
	 * @param a
	 * @return
	 * @throws SQLException
	 */

	public abstract Account delete(Account a);

		public abstract List<Account> retrieveAccbyCustId(int i)
			throws SQLException;

}